<template>
    <div class="field-control field-bool">
        <i-Switch :name="name" :disabled="disabled" :value="!!value" @on-change="valueInput"></i-Switch>
        <div class="field-message" v-show="!validate">{{message}}</div>
    </div>
</template>
<script>
import base from './base'
export default {
    extends: base
}
</script>
<style lang="less">
.field-bool {
    line-height: 32px;
}
</style>
